package cn.yunhe.hom;

public class Rabbit extends Animal {
    public Rabbit(String name) {
        super(name);
    }

    public Rabbit() {
    }

    @Override
    public void eat() {
        System.out.println(name + "吃" + "草");
    }

    @Override
    public void sleep() {
        super.sleep();
    }
}
